package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.SaleOrderDeliveryEntity;

/**
 * 销售订单交货明细Service接口
 * 
 * @author wutao
 * @date 2024-06-30
 */
public interface ISaleOrderDeliveryService extends IService<SaleOrderDeliveryEntity> {
    /**
     * 查询销售订单交货明细
     * 
     * @param id 销售订单交货明细ID
     * @return 销售订单交货明细
     */
    public SaleOrderDeliveryEntity selectSaleOrderDeliveryById(String id);

    /**
     * 查询销售订单交货明细列表
     * 
     * @param saleOrderDelivery 销售订单交货明细
     * @return 销售订单交货明细集合
     */
    public List<SaleOrderDeliveryEntity> selectSaleOrderDeliveryList(SaleOrderDeliveryEntity saleOrderDelivery);

    /**
     * 新增销售订单交货明细
     * 
     * @param saleOrderDelivery 销售订单交货明细
     * @return 结果
     */
    public int insertSaleOrderDelivery(SaleOrderDeliveryEntity saleOrderDelivery);

    /**
     * 修改销售订单交货明细
     * 
     * @param saleOrderDelivery 销售订单交货明细
     * @return 结果
     */
    public int updateSaleOrderDelivery(SaleOrderDeliveryEntity saleOrderDelivery);

    /**
     * 批量删除销售订单交货明细
     * 
     * @param ids 需要删除的销售订单交货明细ID
     * @return 结果
     */
    public int deleteSaleOrderDeliveryByIds(String[] ids);

    /**
     * 删除销售订单交货明细信息
     * 
     * @param id 销售订单交货明细ID
     * @return 结果
     */
    public int deleteSaleOrderDeliveryById(String id);
}
